using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace DoodleJump3
{
    class MenuScreen : Screen
    {
        public MenuScreen(GraphicsDeviceManager graphics, ContentManager contentManager, SpriteBatch spriteBatch) 
            : base(graphics, contentManager, spriteBatch)
        {
            Button button1 = new GameButton(contentManager.Load<Texture2D>("button1"), new Vector2(50, 50));
            Button button2 = new GameButton(contentManager.Load<Texture2D>("button1"), new Vector2(200, 50));
            Button button3 = new GameButton(contentManager.Load<Texture2D>("button1"), new Vector2(150, 100));
            buttons.Add(button1);
            buttons.Add(button2);
            buttons.Add(button3);
        }
        public override void Update(GameTime gameTime)
        {

        }
        public override void Draw()
        {
            spriteBatch.Begin();
            foreach (Button button in buttons)
                button.Draw(spriteBatch);
            spriteBatch.End();
        }
    }
}
